<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link rel="stylesheet" href="/css/plugins/datapicker/datepicker3.css">
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="tid" name="tid" th:value="${bizCustomer.tid}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-2 control-label">名称：</label>
								<div class="col-sm-4">
									<input id="custName" name="custName" th:value="${bizCustomer.custName}" class="form-control" type="text" required>
								</div>
								<label class="col-sm-2 control-label">编码：</label>
								<div class="col-sm-4">
									<input id="custCode" name="custCode" th:value="${bizCustomer.custCode}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">联系人：</label>
								<div class="col-sm-4">
									<input id="contract" name="contract" th:value="${bizCustomer.contract}" class="form-control" type="text" required>
								</div>
								<label class="col-sm-2 control-label">联系电话：</label>
								<div class="col-sm-4">
									<input id="phone" name="phone" th:value="${bizCustomer.phone}" class="form-control" type="text" required>
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">联系电话2：</label>
								<div class="col-sm-4">
									<input id="phone2" name="phone2" th:value="${bizCustomer.phone2}" class="form-control" type="text">
								</div>
								<label class="col-sm-2 control-label">地址：</label>
								<div class="col-sm-4">
									<input id="address" name="address" th:value="${bizCustomer.address}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">彩集时间：</label>
								<div class="col-sm-4">
									<input id="joinDate" name="joinDate" th:value="${bizCustomer.joinDate}" class="form-control" type="text" required>
								</div>
								<label class="col-sm-2 control-label">失效日期：</label>
								<div class="col-sm-4">
									<input id="a" name="a" th:value="${bizCustomer.expireDate}" class="form-control" type="text" readonly>
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">客户类型：</label>
								<div class="col-sm-4">
									<select data-placeholder="--选择类别--" name="custType" id="custType"
                                        class="form-control chosen-select" tabindex="2" required>
	                                    <option value="">--选择类别--</option>
	                                    <option th:selected="${bizCustomer.custType == '一般纳税人'}" value="一般纳税人">一般纳税人</option>
	                                    <option th:selected="${bizCustomer.custType == '小规模公司'}" value="小规模公司">小规模公司</option>
	                                    <option th:selected="${bizCustomer.custType == '个体工商户'}" value="个体工商户">个体工商户</option>
	                                </select>
								</div>
								<label class="col-sm-2 control-label">远程方式：</label>
								<div class="col-sm-4">
									<input id="remoteType" name="remoteType" th:value="${bizCustomer.remoteType}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">办公整机维护（元）：</label>
								<div class="col-sm-4">
									<input id="servZjwhFee" name="servZjwhFee" th:value="${bizCustomer.servZjwhFee}" class="form-control" type="text" maxlength="18">
								</div>
								<label class="col-sm-2 control-label">税控器具报税（元）：</label>
								<div class="col-sm-4">
									<input id="servRkqjbrFee" name="servRkqjbrFee"  th:value="${bizCustomer.servRkqjbrFee}" class="form-control" type="text" maxlength="18">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">电子申报（元）：</label>
								<div class="col-sm-4">
									<input id="servDzsbFee" name="servDzsbFee"  th:value="${bizCustomer.servDzsbFee}" class="form-control" type="text" maxlength="18">
								</div>
								<label class="col-sm-2 control-label">纸质申报（元）：</label>
								<div class="col-sm-4">
									<input id="servZzsbFee" name="servZzsbFee"  th:value="${bizCustomer.servZzsbFee}" class="form-control" type="text" maxlength="18">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">代领发票（元）：</label>
								<div class="col-sm-4">
									<input id="servDlfpFee" name="servDlfpFee"  th:value="${bizCustomer.servDlfpFee}" class="form-control" type="text" maxlength="18">
								</div>
								<label class="col-sm-2 control-label">代打印发票（元）：</label>
								<div class="col-sm-4">
									<input id="servDdyfpFee" name="servDdyfpFee"  th:value="${bizCustomer.servDdyfpFee}" class="form-control" type="text" maxlength="18">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">代理记账\理账（元）：</label>
								<div class="col-sm-4">
									<input id="servLsjzFee" name="servLsjzFee"  th:value="${bizCustomer.servLsjzFee}" class="form-control" type="text" maxlength="18">
								</div>
								<label class="col-sm-2 control-label">年费（合计金额）：</label>
								<div class="col-sm-4">
									<input id="annualFee" name="annualFee"  th:value="${bizCustomer.annualFee}" class="form-control" type="text" maxlength="18">
								</div>
							</div>
																												<div class="form-group">	
								<label class="col-sm-2 control-label">其它费用（元）：</label>
								<div class="col-sm-4">
									<input id="otherFee" name="otherFee" th:value="${bizCustomer.otherFee}" class="form-control" type="text" maxlength="18">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">备注：</label>
								<div class="col-sm-10">
									<input id="remark" name="remark" th:value="${bizCustomer.remark}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-2 control-label">历史缴费信息：</label>
								<div class="col-sm-10">
									<table border=1 width="400px" style="padding-top: 7px;
	    margin-bottom: 0;
	    text-align: center;">
										<tr><td>缴费日期</td><td>缴费金额</td></tr>
										<tr th:each="do:${history}" style="    height: 30px;">
											<td th:text="${do.payDate}"><label class="col-sm-2 control-label"></label></td>
											<td th:text="${do.annualFee}"></td>
										</tr>
									</table>
								</div>
							</div>
							
																					<div class="form-group">
								<div class="col-sm-4 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/system/bizCustomer/edit.js">
	</script>
	<script type="text/javascript" src="/js/plugins/datapicker/bootstrap-datepicker.js"></script>
</body>
</html>
